﻿using System;
using System.Data;
namespace OnlineManagement.IDAL
{
	/// <summary>
	/// 接口层PropagateRecord
	/// </summary>
	public interface IPropagateRecord
	{
        #region  成员方法
     
        /// <summary>
        /// 增加一条数据
        /// </summary>
        bool AddSowPropagateRecord(OnlineManagement.Model.PropagateRecord model, out string returnValue);
        
		#endregion  成员方法
		#region  MethodEx
        /// <summary>
        /// sow 繁殖
        /// </summary>
        /// <param name="model"></param>
        /// <param name="message"></param>
        /// <returns></returns>
        int SowPropagate(OnlineManagement.Model.PropagateRecord model, out string message);

        DataSet GetPropagateSow(int hoggeryId);

        DataSet GetSpecificSowChildInfo(int hoggeryId, Guid sowId);
        #endregion  MethodEx

        #region 不再使用
        string GetSowPigPenName(int hoggeryId, Guid sowId, out string feederName);
        #endregion
    } 
}
